package com.gmscosmo.request;

public class JoinBody extends JanusRequestBody {
    private Long id;
    private String ptype;//加入类型publisher or subscriber
    private String pin;//密码
    private String display;//加入者身份标识
    private Long feed;//当作为subscriber加入时候，需要提供feed来订阅音视频
    private String token;// "<invitation token, in case the room has an ACL; optional>"

    public JoinBody(){
        super("join");
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPtype() {
        return ptype;
    }

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public String getPin() {
        return pin;
    }

    public void setPin(String pin) {
        this.pin = pin;
    }

    public String getDisplay() {
        return display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }

    public Long getFeed() {
        return feed;
    }

    public void setFeed(Long feed) {
        this.feed = feed;
    }
}
